package com.im.service.group.model.req;

import com.im.common.model.RequestBase;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel("群组禁言请求参数")
public class MuteGroupReq extends RequestBase {

    @ApiModelProperty(value = "群组ID", required = true)
    @NotBlank(message = "groupId不能为空")
    private String groupId;

    @ApiModelProperty(value = "是否禁言，0：不禁言，1：禁言", required = true)
    @NotNull(message = "mute不能为空")
    private Integer mute;

}

